package org.xiaojl.xcloud.tools.gateway.view;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.xiaojl.xcloud.tools.gateway.RpcResult;

/**  
 * <p>Title: XcloudErrorController</p>  
 *
 * <p>Description: </p>  
 *
 * @author jilong.xiao  
 * @date 2018年5月22日  
 */
@RestController
public class XcloudErrorController {
	
	@RequestMapping("/xcloudError")
	public RpcResult xcloudError(HttpServletRequest request){
		RpcResult result = (RpcResult) request.getAttribute("result");
		return result;
	}
	
}
